getDataResultsFromIntent
open fun getDataResultsFromIntent(@NonNull intent: Intent, @NonNull remoteInputResultKey: String): Map<String, Uri>(source)
Similar as getResultsFromIntent but retrieves data results for a specific RemoteInput result. To retrieve a value use:
Map<String, Uri> results =
RemoteInput.getDataResultsFromIntent(intent, REMOTE_INPUT_KEY);
if (results != null) {
Uri data = results.get(MIME_TYPE_OF_INTEREST);
}
Content copied to clipboard
Parameters
intent
The intent object that fired in response to an action or content intent which also had one or more remote input requested.
remoteInputResultKey
The result key for the RemoteInput you want results for.